@extends('public.dashboard_base')
@section('title', '批量过户')

@section('content')
    <div class="control_panel_content">
        <div class="navBreadcrumb">
            <ul>
                <li>域名管理</li>
                <li><a href="/domain/plcz">批量操作</a></li>
                <li><a href="/domian/plcz/guohu">域名过户</a></li>
            </ul>
        </div>
        <div class="panel">
            <div class="sub_nav_container">
                <ul class="clearfix">
                    <li class="active"><a href="javascript:;">域名过户</a></li>
                </ul>
            </div>
            <div class="panel_body">
                <form id="template_update_form" action="/domain/plcz/guohu" method="post">
                    <ul class="form_group">
                        <li>
                            <span class="form_label">域名</span>
                            <textarea name="domain" placeholder="每行一个域名，一次最多输入1000个" class="domain_area"></textarea>
                            <span class="text_light_gray">&emsp;您已经填写<em class="text_orange" id="entered-count">0</em>个域名，还可添加<em class="text_orange" id="remaining-count">1000</em>个</span>
                        </li>
                        <li>
                            <span class="form_label">请选择模板</span>

                            <select name="templateId">
                                <option value="">请选择白名单模板</option>
                            </select>
                        </li>
                        <li>
                            <span class="form_label">&nbsp;</span>
                            <input type="submit" class="btn btn_primary" value="提交" id="submit-btn">
                        </li>
                    </ul>
                </form>
            </div>
        </div>
        <div class="panel mt20" id="submit-result" style="display: none">
            <div class="panel_header" style="line-height: 69px;padding-left: 20px;">
                <span class="text_orange f18"><i class="iconfont icongou" style="font-size: 20px"></i>&nbsp;处理结果</span>
            </div>
            <div class="batch_submit_result">
                <div class="title">
                    <span class="text_green">成功（<i id="successCount">0</i>）</span>
                    <span class="text_red active">失败（<i id="failCount">0</i>）</span>
                    <a id="batch_detail" href="/domain/pljg" class="mr20">查看过户记录</a>&nbsp;
                    <!--<a href="javascript:;" id="copy_domain">复制失败域名</a>-->
                </div>
                <div id="submit_result_switch">
                    <div class="table_wrap" style="display: none;border-color: #e9f4e4;" id="success-list"></div>
                    <div class="table_wrap" id="fail-list"></div>
                </div>
            </div>
        </div>
    </div>
@endsection
@section('script')
    <script>
        $(function () {
            var link = $("#domain-plcz");
            link.parent().parent().parent().addClass("active");
            link.parent().addClass("active");
        });
    </script>
@endsection
